<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    
    <title> 资源个性定制IFRAME</title>
   	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>  
	<%@ include file="../include/common.jsp"%>
	 <link href="${pageContext.request.contextPath}/style/default/form/ui.tabs.css" type="text/css" rel="stylesheet" media="print, projection, screen"/>
     <script type="text/javascript" src="${pageContext.request.contextPath}/js/form/ui.tabs.js"></script>
     <style type="text/css">
 		#fragment-1,#fragment-2,#fragment-3,#fragment-4{
 			padding:0px;
 		}
 		iframe {
			width:100%;
			height:100%;
		}
     </style>
 	<script type="text/javascript">
		$(document).ready(function(){
		
			$('#container-1').fadeIn("fast"); 
			$('#container-1 ul').tabs({
				show: function() {
					var li_index = $('#container-1 ul').tabsSelected();
				}
			});
			var resize;
			$('iframe').bind('resize',resize =function(){
				$('iframe').height($(window).height()-$('#container-1 ul').height()-13);
			});
			resize();
		});		
	</script>
  </head>
  
  <body>
	<div id="container-1" style="display:none;height:100%;">
		<ul>
			<li><a href="#fragment-1"><span>资源树定制</span></a></li>
			<li><a href="#fragment-2"><span>自定义属性</span></a></li>
			<li><a href="#fragment-3"><span>自定义指标</span></a></li>
			<li><a href="#fragment-4"><span>自定义事件类别</span></a></li>
		</ul>
		<div id="fragment-1" style="height:100%;">
			<iframe  src="res-custom!tree.action?resId=${resId}&pId=${pId}" style="height:100%:"  frameborder="0"></iframe>
		</div>
		<div id="fragment-2" >
			<iframe  src="attribute!common.action?resId=${resId}"    frameborder="0"></iframe>
		</div>
		<div id="fragment-3">
			<iframe  src="property!common.action?resId=${resId}"    frameborder="0"></iframe>
		</div>
		<div id="fragment-4">
			<iframe  src="${pageContext.request.contextPath}/event/event-type!common.action?id=${resId}"  frameborder="0"></iframe>
		</div>
	</div>
	
  </body>
</html>
